package request

type ShipmentPagination struct {
	Pagination
	ShopId              uint   `form:"shopId" json:"shopId"`
	ShipmentStatus      int    `form:"shipmentStatus" json:"shipmentStatus"`
	FulfillmentCenterId string `form:"fulfillmentCenterId" json:"fulfillmentCenterId"`
	ShipmentId          string `form:"shipmentId" json:"shipmentId"`
	TrackingNo          string `form:"trackingNo" json:"trackingNo"`
	SkuId               string `form:"skuId" json:"skuId"`
	Exception           int    `form:"exception" json:"exception"`
	CompanyId           uint   `form:"companyId" json:"companyId"` // 组织
}

type InboundPlanPagination struct {
	Pagination
	ShopId              uint   `form:"shopId" json:"shopId"`
	PlanStatus          int    `form:"planStatus" json:"planStatus"`
	FulfillmentCenterId string `form:"fulfillmentCenterId" json:"fulfillmentCenterId"`
	PlanId              string `form:"planId" json:"planId"`
	SkuId               string `form:"skuId" json:"skuId"`
	CompanyId           uint   `form:"companyId" json:"companyId"` // 组织
}

type ShipmentDetailView struct {
	ShopId     uint   `form:"shopId" json:"shopId"`
	ShipmentId string `form:"shipmentId" json:"shipmentId"`
}

type ShipmentTrackBoxView struct {
	ShopId     uint   `form:"shopId" json:"shopId"`
	ShipmentId string `form:"shipmentId" json:"shipmentId"`
}

//{"shipmentId":"FBF655GYI","boxNumber":"FBF655GYI0001"}
type ShipmentBoxView struct {
	ShopId     uint   `form:"shopId" json:"shopId"`
	ShipmentId string `form:"shipmentId" json:"shipmentId"`
	BoxNumber  string `form:"boxNumber" json:"boxNumber"`
}

// {"shipmentId":"FBF655GYI","boxNumber":"","tabFilter":"all"}
type ShipmentReceivedDetailView struct {
	ShopId     uint   `form:"shopId" json:"shopId"`
	ShipmentId string `form:"shipmentId" json:"shipmentId"`
	BoxNumber  string `form:"boxNumber" json:"boxNumber"`
	TabFilter  string `form:"tabFilter" json:"tabFilter"`
}
